#!/bin/sh
VIP=42.51.37.248
LIP=42.51.37.250
RS=119.188.210.128
/root/dpvs/bin/dpip vlan add dpdk0.156 link dpdk0 id 156
/root/dpvs/bin/dpip addr add ${VIP}/24 dev dpdk0.156
/root/dpvs/bin/ipvsadm -A -t ${VIP}:8081 -s rr
/root/dpvs/bin/ipvsadm -a -t ${VIP}:8081 -r ${RS}:8082 -b

/root/dpvs/bin/ipvsadm --add-laddr -z ${LIP} -t ${VIP}:8081 -F dpdk0.156
/root/dpvs/bin/dpip route add default via 42.51.37.1 dev dpdk0.156
